package com.situ.day14;

import org.junit.Test;

public class EnumDemo {
	@Test
	public void test1() {
		Student student1 = new Student(2, "张三", GenderTest.MALE);
//		System.out.println(student1);
		Student student2 = new Student(3, "李四", GenderTest.MALE);
		System.out.println(student1.getGenderTest() == (student2.getGenderTest()));
	}
	@Test
	public void test2() {
		GenderTest genderTest = GenderTest.MALE;
		System.out.println(genderTest.getValue());
	}

}
